ostree-pull: Avoid an uninitialized variable warning
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 May 2012 03:19:21 +0000 (23:19 -0400)
committerColin Walters <walters@verbum.org>
Sat, 12 May 2012 14:51:01 +0000 (10:51 -0400)
src/ostree/ostree-pull.c

index fedb6565412a6b7560a54d7dacb88ff3b19fb3b6..766e1cba67a08071d96dfcf6b6950109f841627e 100644 (file)
@@ -340,7 +340,7 @@ find_object_in_remote_packs (OtPullData       *pull_data,
                              GError          **error)
 {
   gboolean ret = FALSE;
-  guint64 ret_offset;
+  guint64 ret_offset = 0;
   guint i;
   GPtrArray *iter;
   ot_lvariant GVariant *csum_bytes_v = NULL;